Skip to content

&phoeenniixx [BUG] change progress bar default to simple and decouple rich core dependency to avoid default failure#601

Merged
fkiraly merged 4 commits intopytorch-tabular:mainfrom
fkiraly:change-progress-bar-default-to-simple
Jan 25, 2026
Merged

&phoeenniixx [BUG] change progress bar default to simple and decouple rich core dependency to avoid default failure#601
fkiraly merged 4 commits intopytorch-tabular:mainfrom
fkiraly:change-progress-bar-default-to-simple

Conversation

@fkiraly
Copy link
Copy Markdown
Collaborator

@fkiraly fkiraly commented Jan 24, 2026

changes progress bar default to simple and remove rich core dependency in the model progress bar.

Fixes #600, acting on the suspicion of @phoeenniixx that the rich based progress bar is the culprit.

No deprecation is needed for the change in default, since progress bars are purely visual, and the rich based one is replaced by on-board python stdout.

@fkiraly fkiraly added the bug Something isn't working label Jan 24, 2026
@fkiraly fkiraly changed the title [BUG] change progress bar default to simple and remove rich core dependency to avoid default failure [BUG] change progress bar default to simple and decouple rich core dependency to avoid default failure Jan 24, 2026
@fkiraly fkiraly changed the title [BUG] change progress bar default to simple and decouple rich core dependency to avoid default failure &phoeenniixx [BUG] change progress bar default to simple and decouple rich core dependency to avoid default failure Jan 24, 2026
Copy link
Copy Markdown
Member

@phoeenniixx phoeenniixx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is working! But I was thinking we should not completely remove rich from progess_bar? We could "supress" it and add it to soft-dep for people who are already using it?

@fkiraly
Copy link
Copy Markdown
Collaborator Author

fkiraly commented Jan 25, 2026

This is working! But I was thinking we should not completely remove rich from progess_bar? We could "supress" it and add it to soft-dep for people who are already using it?

I was also thinking that, but I think the problem is that there must be some version from which compatibility with lightning or similar breaks completely. So, if we leave the default as-is, then users of the default will experience, at some point, a full break of the package.

The same is true for users who explicitly set "rich" as the progress bar backend.

Hence I think - at least until we understand why rich is breaking - it is better to replace it silently. Better that the progress bar visuals change than the entire code breaking for an unclear reason, no?

@fkiraly
Copy link
Copy Markdown
Collaborator Author

fkiraly commented Jan 25, 2026

We can open an issue though to track this, see #605

@fkiraly fkiraly merged commit d2d21da into pytorch-tabular:main Jan 25, 2026
1 check passed
fkiraly added a commit that referenced this pull request Jan 25, 2026
…sions (#604)

Extends the test matrix to windows, Mac, and unix; and python to 3.10 to
3.14.

Depends on #601
to ensure the tests actually run.

#601 should be merged first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] test_categorical_embedding: test_regression is failing for fixtures categorical_cols0 or continuous_cols0

2 participants